<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
<body>

<div id="loginDiv">
    <form action="/logindemo2/userBuyLogin" method="post" id="form">
        <h1 id = "loginMsg"> 客户登录</h1>
        <p> 输入您的用户名:<input id = "userName" name="userName" type="text" minlength="3" maxlength="6" required></p>
        <p> 输入您的密码:<input id = "userPwd" name="userPwd" type="password" minlength="6" maxlength="12" required></p>

        <div id="subDiv">
            <input type="submit" class="button" value="登录">
            <input type="reset" class="button" value="重置">

            <a href="registerUserBuy.html" >没有账号，先去注册</a>
        </div>
    </form>
</div>
</body>
</html>